package entity.salary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_increases")
public class Increases implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工工号
     */
    @TableId("emp_worknumber")
    private String empWorknumber;

    /**
     * 序号
     */
    @TableField("mep_id")
    private Integer mepId;

    /**
     * 基本工资
     */
    @TableField("wages_base")
    private Double wagesBase;

    /**
     * 岗位工资
     */
    @TableField("wages_post")
    private Double wagesPost;

    /**
     * 职务工资
     */
    @TableField("wages_office")
    private Double wagesOffice;

    /**
     * 交通补贴
     */
    @TableField("transportation_subsidies")
    private Double transportationSubsidies;

    /**
     * 职称工资
     */
    @TableField("wages_job_title")
    private Double wagesJobTitle;

    /**
     * 绩效工资
     */
    @TableField("wages_performance")
    private Double wagesPerformance;

    /**
     * 住房补贴
     */
    @TableField("housing_subsidies")
    private Double housingSubsidies;

    /**
     * 餐补
     */
    @TableField("meal_supplements")
    private Double mealSupplements;

    /**
     * 创建时间
     */
    @TableField("creat_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creatTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /**
     * 修改标识
     */
    @TableField("delete_flage")
    private Integer deleteFlage;


}
